package com.edocbase.desktop.plugins.driver;

import org.eclipse.draw2d.ActionEvent;
import org.eclipse.draw2d.ActionListener;

import com.edocbase.desktop.plugins.mdiary.MDiaryUI;

public class DriverAction implements ActionListener {
private static final org.apache.log4j.Logger logger = org.apache.log4j.Logger
		.getLogger(DriverAction.class);
	private MDiaryUI dairyUI = null;
	DriverControl control = null;
	public DriverAction(MDiaryUI dairyUI) {
		super();
		this.dairyUI = dairyUI;
		control = new DriverControl(dairyUI);
	}

	@Override
	public void actionPerformed(ActionEvent event) {
		if (logger.isDebugEnabled()) {
			logger.debug("web driver manager !!!");
		}
		control.show();
	}

}
